.Net Engine Enable Logging
How to Enable logging in .Net Engine
caution
Enabling logging will have an impact on generation time of your document. Make sure to turn logging off after you have created your log file.
Navigate to your app.exe.config file located on the root directory of your Engine.
Open the app.exe.config file in Notepad++
- Make sure your
configSectons
tag contains<section name="log4net" type="log4net.Config.Log4NetConfigurationSectionHandler,log4net, Culture=neutral, PublicKeyToken=669e0ddf0bb1aa2a" />
as shown below
<configSections>
<section name="log4net" type="log4net.Config.Log4NetConfigurationSectionHandler,log4net, Culture=neutral, PublicKeyToken=669e0ddf0bb1aa2a" />
<section name="WindwardReports" type="System.Configuration.NameValueSectionHandler" />
</configSections>
Change the level value to DEBUG and save the file.
Attempt to Generate your report to create your log file.
If your log file was not created, make call to
log4net.Config.XmlConfigurator.Configure();
prior to calling any Windward methods.Set the level value back to info or warn and save the file.